#include <string.h>
-/*
+/**
* SECTION:gtkactionmuxer
* @short_description: Aggregate and monitor several action groups
*
g_object_class_install_properties (class, NUM_PROPERTIES, properties);
}
-/*
+/**
* gtk_action_muxer_insert:
* @muxer: a #GtkActionMuxer
* @prefix: the prefix string for the action group
G_CALLBACK (gtk_action_muxer_group_action_state_changed), group);
}
-/*
+/**
* gtk_action_muxer_remove:
* @muxer: a #GtkActionMuxer
* @prefix: the prefix of the action group to remove
}
}
-/*
+/**
* gtk_action_muxer_new:
*
* Creates a new #GtkActionMuxer.
return g_object_new (GTK_TYPE_ACTION_MUXER, NULL);
}
-/* gtk_action_muxer_get_parent:
+/**
+ * gtk_action_muxer_get_parent:
* @muxer: a #GtkActionMuxer
*
- * Returns: (transfer-none): the parent of @muxer, or NULL.
+ * Returns: (transfer none): the parent of @muxer, or NULL.
*/
GtkActionMuxer *
gtk_action_muxer_get_parent (GtkActionMuxer *muxer)
return muxer->parent;
}
-/* gtk_action_muxer_set_parent:
+/**
+ * gtk_action_muxer_set_parent:
* @muxer: a #GtkActionMuxer
* @parent: (allow-none): the new parent #GtkActionMuxer
*
void gtk_action_muxer_insert (GtkActionMuxer *muxer,
const gchar *prefix,
- GActionGroup *group);
+ GActionGroup *action_group);
void gtk_action_muxer_remove (GtkActionMuxer *muxer,
const gchar *prefix);
{
}
-/*
+/**
* gtk_action_observable_register_observer:
* @observable: a #GtkActionObservable
* @action_name: the name of the action
->register_observer (observable, action_name, observer);
}
-/*
+/**
* gtk_action_observable_unregister_observer:
* @observable: a #GtkActionObservable
* @action_name: the name of the action
{
}
-/*
+/**
* gtk_action_observer_action_added:
* @observer: a #GtkActionObserver
* @observable: the source of the event
->action_added (observer, observable, action_name, parameter_type, enabled, state);
}
-/*
+/**
* gtk_action_observer_action_enabled_changed:
* @observer: a #GtkActionObserver
* @observable: the source of the event
->action_enabled_changed (observer, observable, action_name, enabled);
}
-/*
+/**
* gtk_action_observer_action_state_changed:
* @observer: a #GtkActionObserver
* @observable: the source of the event
->action_state_changed (observer, observable, action_name, state);
}
-/*
+/**
* gtk_action_observer_action_removed:
* @observer: a #GtkActionObserver
* @observable: the source of the event